package com.yowasa.xiuxian.entity.bot.message;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import org.springframework.core.io.FileSystemResource;

/**
 * 主动发送消息时消息对象
 */
@Data
public class SendMessageReq {
    //文字内容
    private String content;

    //embed 消息，一种特殊的 ark
    private MessageEmbed embed;

    //ark 消息
    private MessageArk ark;

    //引用消息
    private MessageReference messageReference;

    //图片url地址，平台会转存该图片，用于下发图片消息
    private String image;

    //要回复的消息id(Message.id)
    private String msgId;

    //要回复的事件id, 在各事件对象中获取
    private String eventId;

    //markdown 消息
    private MessageMarkdown markdown;

    //本地文件
    @JsonIgnore
    private FileSystemResource fileImage;

    //按钮
    private MessageKeyboard keyboard;



}
